import { renderSlots, h, getCurrentInstance } from '../../lib/min-vue.esm.js'
export const foo = {
  name: 'foo',
  setup() {
    const instance = getCurrentInstance()
    console.log('foo', instance)
    return {}
  },
  render() {
    const foo = h('p', {}, 'foo')
    const age = 100

    return h('div', {}, [
      renderSlots(this.$slots, 'header', {
        age
      }),
      foo,
      renderSlots(this.$slots, 'footer')
    ])
  }
}
